package org.shuma.productPriceType.domain.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@RequiredArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("product_price_type")
public class ProductPriceType {
    @TableId(value = "product_price_typeId", type = IdType.AUTO)
    private Integer productPriceTypeId;
    private final Integer productId;
    private final Long priceTypeId;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}